<?php /* Smarty version Smarty-3.1.6, created on 2012-11-27 16:33:08
         compiled from "./index/Tpl\Index\index.html" */ ?>
<?php /*%%SmartyHeaderCode:1705150b38bbc5dbd11-54365743%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9e7d0f6c84c93d5b2171161559f1333f240a771b' => 
    array (
      0 => './index/Tpl\\Index\\index.html',
      1 => 1353949793,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1705150b38bbc5dbd11-54365743',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_50b38bbc7c49e',
  'variables' => 
  array (
    'appkey' => 0,
    'class' => 0,
    'item' => 0,
    'classId' => 0,
    'points' => 0,
    'userName' => 0,
    'slide' => 0,
    'smallSlide' => 0,
    'big_item1' => 0,
    'items' => 0,
    'big_item2' => 0,
    'items1' => 0,
    'big_item3' => 0,
    'items2' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50b38bbc7c49e')) {function content_50b38bbc7c49e($_smarty_tpl) {?><link type="text/css" rel="stylesheet" href="/assets/css/style.css"/>
<script type="text/javascript" src="/assets/js/jquery.js"></script>
<script type="text/javascript" src="/assets/js/jquery.SuperSlide.js"></script>
<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey=<?php echo $_smarty_tpl->tpl_vars['appkey']->value;?>
"></script>
<body>
<div id="header" style="width:950px;margin:0 auto;">
	<!--<div class="wrapper"><a href="#"><img src="/assets/images/logo.png" /></a></div>-->	
</div>
<div id="nav" style="width:950px;margin:0 auto;">
	<div class="wrapper">
		<div class="left">
			<a href="/index.php" class="b red">首页</a><span>-</span>
			<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['class']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
			<a href="/index.php?a=categray&classId=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['classId']->value==$_smarty_tpl->tpl_vars['item']->value['id']){?>class="b"<?php }?> > <?php echo $_smarty_tpl->tpl_vars['item']->value['className'];?>
</a>
			<?php } ?>
			
			<!--<a href="#" class="b">团购</a><a href="#" class="b">兑换</a>-->
		</div>
		<div class="right">
			<p><span>您当前拥有<b class="points"><?php echo $_smarty_tpl->tpl_vars['points']->value;?>
</b>积分</span><a href="#"><?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
</a></p>
			<a href="#" class="btn">签到</a>
		</div>
		<div class="clearit"></div>
	</div>
</div>
<!--
<div id="subNav">
	<div class="wrapper">
		<ul>
			<li class="itemA"><a href="#">服装</a><a href="#">鞋子</a><a href="#">包包</a><a href="#">配饰</a></li>
			<li class="itemB"><a href="#">家装</a><a href="#">卧室</a><a href="#">厨房</a><a href="#">阳台</a></li>
			<li class="itemC"><a href="#">护肤</a><a href="#">彩妆</a><a href="#">品牌</a><a href="#">功效</a></li>
			<li class="itemD"><a href="#">零食</a><a href="#">特色食品</a><a href="#">茶酒冲饮</a></li>
		</ul>
	</div>
</div>
-->

<div id="index">
	<div class="itemA">
		<div class="left">
		
<div class="banner">
	<div class="bd">
	<div class="tempWrap" style="overflow:hidden;position:relative;width:705px;">
	  <ul class="flow" style="width: 3525px;position: relative;overflow: hidden;padding: 0px;margin: 0px;left: 0px;">
		
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['slide']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
		<li class="slide" style="float:left;width:705px;">
			<a class="topicBg" href="<?php echo $_smarty_tpl->tpl_vars['item']->value['picLink'];?>
" target="_blank" style="background-image:url(<?php echo $_smarty_tpl->tpl_vars['item']->value['picUrl'];?>
)"></a>
		</li>
		<?php } ?>
		
	  </ul>
	</div>
	</div>
	<div class="hd">
	  <ul>
		
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['smallSlide']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
		<li class="slide_li">
			<img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['picUrl'];?>
" />
		 	<p><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</p>
		</li>
		<?php } ?>
	  </ul>
	</div>
</div>
<script type="text/javascript">jQuery(".banner").slide({ mainCell:".bd ul",effect:"left",autoPlay:true });</script>
<script>
$(document).ready(function(e) {
	var now = new Date();
	var mSec = now.getTime();
    $(".ju-like").click(function(){
		var url = "http://t.taobao.com/cooperate/publish_favor.do?_input_charset=utf-8&"+
		"t="+mSec+
		"&favor_type=3"+
		"&favor_target_key=20307500089"+
		"&favor_sub_type="+
		"&favor_app_id=undefined"+
		"&comment=%E8%BF%99%E4%B8%AA%E5%AE%9D%E8%B4%9D%E6%88%91%E8%9B%AE%E5%96%9C%E6%AC%A2%E7%9A%84%E5%93%A6!~~%E5%A4%A7%E5%AE%B6%E6%9D%A5%E5%9B%B4%E8%A7%82%E4%B8%8B%EF%BC%81~"+
		"&pic=http%3A%2F%2Fimg02.taobaocdn.com%2Fbao%2Fuploaded%2Fi2%2FT1fEAdXkVaXXb6UuIZ_031846.jpg_310x310.jpg"+
		"&client_id=170429"+
		"&type=webpage"+
		"&title=%E7%94%B7%E5%A3%AB%E5%8A%A0%E5%8E%9A%E5%8A%A0%E7%BB%92%E7%89%9B%E4%BB%94%E8%A3%A4%E7%94%B7%E4%BF%AE%E8%BA%AB%E9%BB%91%E8%89%B2%E9%9F%A9%E7%89%88%E6%BD%AE%E4%BC%91%E9%97%B2%E9%93%85%E7%AC%94%E8%A3%A4%E5%B0%8F%E8%84%9A%E8%A3%A4%E5%AD%90"+
		"&key=http%3A%2F%2Fju.uz.taobao.com%2Findex.php%3Fa%3Dproduct%26id%3D10"+
		"&_tb_token_=e9bbe5e1be6a7";
		$.ajax({
			dataType:"jsonp",
			url:url,
			jsonpCallback:"likeBack",
			success: function(data){
				//alert(data.result.);
			},
			error: function(){
				alert("error");
			}
			
		});
	});
});

function likeBack(data){
	if(data.result.code==-1){
		alert("需要登陆呵呵!");
	}
}
</script>
		</div>
		<div class="right">
			<a href="#"><img src="http://img04.taobaocdn.com/imgextra/i4/866221489/T2QqFfXfNOXXXXXXXX_!!866221489.png" /></a>
		</div>
		<div class="clearit"></div>
	</div>
	<!--
	<div class="itemB">
		<h2>聚团购</h2>
		<ul>
			<li><a href="#"><img src="/assets/images/p2.jpg" /></a><span class="title"><a href="#">学院风粉果包包</a></span><span class="num">已有600人购买</span></li>
			<li><a href="#"><img src="/assets/images/p2.jpg" /></a><span class="title"><a href="#">学院风粉果包包</a></span><span class="num">已有600人购买</span></li>
			<li><a href="#"><img src="/assets/images/p2.jpg" /></a><span class="title"><a href="#">学院风粉果包包</a></span><span class="num">已有600人购买</span></li>
			<li><a href="#"><img src="/assets/images/p2.jpg" /></a><span class="title"><a href="#">学院风粉果包包</a></span><span class="num">已有600人购买</span></li>
			<li><a href="#"><img src="/assets/images/p2.jpg" /></a><span class="title"><a href="#">学院风粉果包包</a></span><span class="num">已有600人购买</span></li>
		</ul>
		<a href="#" class="more">更多>></a>
	</div>
	
	<div class="itemC">
		<h2>类目推荐</h2>
		<div class="partA">
			<a href="#" class="a1">女装</a>
			<a href="#" class="a2">母婴</a>
			<a href="#" class="a3">饰品</a>
			<a href="#" class="a4">美妆</a>
			<a href="#" class="a5">家居</a>
			<a href="#" class="a6">男装</a>
		</div>
		<div class="partB">
			<a href="#" class="a7">食品</a>
			<a href="#" class="a8">鞋类</a>
			<a href="#" class="a9">电器</a>
			<a href="#" class="a10">电器</a>
			<a href="#" class="a11">电器</a>
			<a href="#" class="a12">电器</a>
		</div>
		<div class="partC">
			<a href="#" class="a13">包包</a>
		</div>
		<a href="#" class="more">更多>></a>
	</div>
	-->
	<div class="itemD">
		<div class="title"><img src="/assets/images/t1.gif" /><p></p></div>
		<div class="left">
			<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['big_item1']->value['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['big_item1']->value['pic_url'];?>
" /></a>
			<strong><a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" ><?php echo $_smarty_tpl->tpl_vars['big_item1']->value['title'];?>
</a></strong>
			<br/>
			<p><?php echo $_smarty_tpl->tpl_vars['big_item1']->value['desc'];?>
</p>
		</div>
		<div class="right">
			<ul>
			<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
				<li>
					<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
" /></a>
					<p class="p1"><a href="/index.php?a=product&id={$item.id}>" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
					<div class="ju-like">喜欢</div>
					<p class="p2"><?php echo $_smarty_tpl->tpl_vars['item']->value['shop'];?>
</p>
					<p class="p3"><img src="/assets/images/p6.jpg" />糖糖：是我喜欢的感觉诶...</a></p>
				</li>
			<?php } ?>
			</ul>
		</div>
		<div class="clearit"></div>
	</div>
	<div class="itemD">
		<div class="title"><img src="/assets/images/t2.gif" /><p></p></div>
		<div class="left">
			<a href="/index.php?a=product&id={$big_item2.id}>" ><img src="{$big_item2.pic_url}>" /></a>
			<strong><a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['big_item2']->value['title'];?>
</a></strong>
			<br/>
			<p><?php echo $_smarty_tpl->tpl_vars['big_item2']->value['desc'];?>
</p>
		</div>
		<div class="right">
			<ul>
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
				<li>
					<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
" /></a>
					<p class="p1"><a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
					<div  data-item_id='<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
'  class="sns-widget ju-like" data-like='{
    "text":"喜欢",
    "skinType":1,
    "type":"3",
    "key":"<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
",
    "client_id":"170429",
	"shareparams":{
	"pic":"<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
",
	"client_id":"19",
	"comment":"这个宝贝我蛮喜欢的哦!~~大家来围观下！~",
	"type":"webpage",
	"title":"<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
",
	"key":"http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"}}' type="<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
"></div>
	<div class="hidden" ><?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
</div>
					<p class="p2"><?php echo $_smarty_tpl->tpl_vars['item']->value['shop'];?>
</p>
					<p class="p3"><img src="/assets/images/p6.jpg" />糖糖：是我喜欢的感觉诶...</p>
				</li>
			<?php } ?>
			</ul>
		</div>
		<div class="clearit"></div>
	</div>
	<div class="itemD">
		<div class="title"><img src="/assets/images/t3.gif" /><p>  </p></div>
		<div class="left">
			<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['big_item3']->value['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['big_item3']->value['pic_url'];?>
" /></a>
			<strong><a href="/index.php?a=product&id={$item.id}>" target="_blank"><?php echo $_smarty_tpl->tpl_vars['big_item3']->value['title'];?>
</a></strong>
			<br/>
			<p><?php echo $_smarty_tpl->tpl_vars['big_item3']->value['desc'];?>
</p>
		</div>
		<div class="right">
			<ul>
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
				<li>
					<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
" /></a>
					<p class="p1"><a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
					<div class="sns-widget ju-like" data-like='{
    "text":"喜欢",
    "skinType":1,
    "type":"3",
    "key":"{$item.item_id}>",
    "client_id":"170429",
	"shareparams":{
	"pic":"{$item.pic_url}>",
	"client_id":"19",
	"comment":"这个宝贝我蛮喜欢的哦!~~大家来围观下！~",
	"type":"webpage",
	"title":"{$item.title}",
	"key":"http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"}}'></div>
	<div class="hidden" ><?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
</div>
					<p class="p2"><?php echo $_smarty_tpl->tpl_vars['item']->value['shop'];?>
</p>
					<p class="p3"><img src="/assets/images/p6.jpg" />df糖糖：是我喜欢的感觉诶...</p>
				</li>
			<?php } ?>
			</ul>
		</div>
		<div class="clearit"></div>
	</div>
	<div class="itemE"><a target="_blank" href="http://uz.taobao.com"><img src="/assets/images/p3.jpg" /></a></div>
</div>
<?php }} ?>